//  Created by wealthgrow on 2021/3/3.
//  Copyright © 2021 qimeng. All rights reserved.

#import "TPConst.h"


NSString *const AL_AtTheBottomTip = @"—— 医路同行 芝士为伴 ——";
NSString *const kNetworkRequestLoadFailed = @"LoadFailed";
NSString *const ShareContentTypeSavePoster = @"1";
NSString *const ShareContentTypeOther_99 = @"99";

@implementation TPConst

// 需要path的类型 1视频 2PPT 3动画 4知识速记 5图谱 6图片 7音频 8笔记 16交互实验(目前就是视频) 65三维动画
+ (BOOL)courseWareHavePathWithType:(NSInteger)courseWareType path:(NSString *)path {
    if (courseWareType == CoursewareTypeVideo ||
        courseWareType == CoursewareTypePPT ||
        courseWareType == CoursewareTypeAnimation ||
        courseWareType == CoursewareTypeKnowledgeImage ||
        courseWareType == CoursewareTypeImage ||
        courseWareType == CoursewareTypePic ||
        courseWareType == CoursewareTypeAudio ||
        courseWareType == CoursewareTypeNote ||
        courseWareType == CoursewareTypeJiaohuExp ||
        courseWareType == CoursewareType3DAnimation) {
        if (path.length > 0 && ![path isEqualToString:@"null"]) {
            return YES;
        } else {
            return NO;
        }
    }
    return YES;
}
@end
